PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / Blendin to myself AdamFX Twist 2 martin - glassball dance with Cope.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=4.616 |
| 27 | fWaveSmoothing=0.810 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.470 |
| 30 | fModWaveAlphaEnd=1.320 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00016 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00022 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.450 |
| 45 | wave_g=0.400 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.100 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.035 |
| 55 | ib_r=1.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.150 |
| 64 | mv_r=0.600 |
| 65 | mv_g=0.200 |
| 66 | mv_b=0.700 |
| 67 | mv_a=0.300 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=102 |
| 77 | wavecode_0_sep=10 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=0.500 |
| 86 | wavecode_0_b=0.500 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_per_frame1=t2 = t2 + bass_att; |
| 89 | wave_0_per_point1=k0 = int(100.0*sample); |
| 90 | wave_0_per_point2=k2 = int(100.0*sample+1); |
| 91 | wave_0_per_point3=k1 = equal(k0%2,0); |
| 92 | wave_0_per_point4=k2 = equal(k0%2,1); |
| 93 | wave_0_per_point5= |
| 94 | wave_0_per_point6= |
| 95 | wave_0_per_point7=ix = (100*value1)%7-3; |
| 96 | wave_0_per_point8=iy = (100*value2)%7-3; |
| 97 | wave_0_per_point9= |
| 98 | wave_0_per_point10=sp = bass_att + treb_att; |
| 99 | wave_0_per_point11=sp = sp /3000; |
| 100 | wave_0_per_point12= |
| 101 | wave_0_per_point13= |
| 102 | wave_0_per_point14=dx = (dx+sp*ix) * .99; |
| 103 | wave_0_per_point15=dy = (dy+sp*iy) * .99 ; |
| 104 | wave_0_per_point16= |
| 105 | wave_0_per_point17= |
| 106 | wave_0_per_point18=ox = k1*dx + (1-k1)*ox; |
| 107 | wave_0_per_point19=oy = k2*dy + (1-k2)*oy; |
| 108 | wave_0_per_point20= |
| 109 | wave_0_per_point21= |
| 110 | wave_0_per_point22= |
| 111 | wave_0_per_point23=//ox = 0; oy = 0; |
| 112 | wave_0_per_point24= |
| 113 | wave_0_per_point25=x = ox+.5; |
| 114 | wave_0_per_point26=y = oy+.5; |
| 115 | wave_0_per_point27= |
| 116 | wave_0_per_point28=r = .6; |
| 117 | wave_0_per_point29=g = .8; |
| 118 | wave_0_per_point30=b = .9; |
| 119 | wave_0_per_point31=a = .1 + q26/8; |
| 120 | wave_0_per_point32=a = max(a,1) / 4; |
| 121 | wavecode_1_enabled=0 |
| 122 | wavecode_1_samples=512 |
| 123 | wavecode_1_sep=0 |
| 124 | wavecode_1_bSpectrum=0 |
| 125 | wavecode_1_bUseDots=0 |
| 126 | wavecode_1_bDrawThick=1 |
| 127 | wavecode_1_bAdditive=0 |
| 128 | wavecode_1_scaling=0.89152 |
| 129 | wavecode_1_smoothing=0.82000 |
| 130 | wavecode_1_r=1.000 |
| 131 | wavecode_1_g=1.000 |
| 132 | wavecode_1_b=1.000 |
| 133 | wavecode_1_a=0.100 |
| 134 | wavecode_2_enabled=0 |
| 135 | wavecode_2_samples=512 |
| 136 | wavecode_2_sep=0 |
| 137 | wavecode_2_bSpectrum=0 |
| 138 | wavecode_2_bUseDots=0 |
| 139 | wavecode_2_bDrawThick=1 |
| 140 | wavecode_2_bAdditive=0 |
| 141 | wavecode_2_scaling=0.89152 |
| 142 | wavecode_2_smoothing=0.82000 |
| 143 | wavecode_2_r=1.000 |
| 144 | wavecode_2_g=1.000 |
| 145 | wavecode_2_b=1.000 |
| 146 | wavecode_2_a=0.100 |
| 147 | wavecode_3_enabled=0 |
| 148 | wavecode_3_samples=512 |
| 149 | wavecode_3_sep=0 |
| 150 | wavecode_3_bSpectrum=1 |
| 151 | wavecode_3_bUseDots=1 |
| 152 | wavecode_3_bDrawThick=0 |
| 153 | wavecode_3_bAdditive=0 |
| 154 | wavecode_3_scaling=1.00000 |
| 155 | wavecode_3_smoothing=0.50000 |
| 156 | wavecode_3_r=1.000 |
| 157 | wavecode_3_g=1.000 |
| 158 | wavecode_3_b=1.000 |
| 159 | wavecode_3_a=1.000 |
| 160 | wave_3_per_point1=ra = .8; |
| 161 | wave_3_per_point2=rb = .5; |
| 162 | wave_3_per_point3=pib = 6.28318530718; |
| 163 | wave_3_per_point4= |
| 164 | wave_3_per_point5= |
| 165 | wave_3_per_point6=tic = min(time-tin,.1); |
| 166 | wave_3_per_point7=tin = if(equal(sample,0),time,tin); |
| 167 | wave_3_per_point8= |
| 168 | wave_3_per_point9=mod = 1.5 + .5*sin(time*.15); |
| 169 | wave_3_per_point10=med = 1.5 + .5*sin(time*.134); |
| 170 | wave_3_per_point11=med = 5; |
| 171 | wave_3_per_point12=amod = 3; |
| 172 | wave_3_per_point13= |
| 173 | wave_3_per_point14=vr = int(rand(10001))*.0001; |
| 174 | wave_3_per_point15=rb = rb + int(rand(10001))*.0001*.1; |
| 175 | wave_3_per_point16= |
| 176 | wave_3_per_point17=a = vr; |
| 177 | wave_3_per_point18= |
| 178 | wave_3_per_point19=sa = vr*pib*.5; |
| 179 | wave_3_per_point20=sp = sa*mod + q1*1.3; |
| 180 | wave_3_per_point21=sam = sa*med - q1*.219; |
| 181 | wave_3_per_point22= |
| 182 | wave_3_per_point23=ox = ra*sin(sam*pib); |
| 183 | wave_3_per_point24=oy = ra*cos(sam*pib); |
| 184 | wave_3_per_point25=ox = ox + rb*-cos(sp)*sin(sam*pib); |
| 185 | wave_3_per_point26=oz = rb*-sin(sp); |
| 186 | wave_3_per_point27=oy = oy + rb*-cos(sp)*cos(sam*pib); |
| 187 | wave_3_per_point28= |
| 188 | wave_3_per_point29= |
| 189 | wave_3_per_point30=xang = time*.132; |
| 190 | wave_3_per_point31=xang = q2; |
| 191 | wave_3_per_point32=yang = time*.153; |
| 192 | wave_3_per_point33=yang = q3; |
| 193 | wave_3_per_point34=zang = time*.110; |
| 194 | wave_3_per_point35=zang = q4; |
| 195 | wave_3_per_point36=fov = 0.6 + 0.2*sin(time); |
| 196 | wave_3_per_point37=fov = .5; |
| 197 | wave_3_per_point38= |
| 198 | wave_3_per_point39=mx = ox*cos(zang) - oy*sin(zang); |
| 199 | wave_3_per_point40=my = ox*sin(zang) + oy*cos(zang); |
| 200 | wave_3_per_point41=ox = mx; |
| 201 | wave_3_per_point42=oy = my; |
| 202 | wave_3_per_point43=mx = ox*cos(yang) + oz*sin(yang); |
| 203 | wave_3_per_point44=mz = - ox*sin(yang) + oz*cos(yang); |
| 204 | wave_3_per_point45=ox = mx; |
| 205 | wave_3_per_point46=oz = mz; |
| 206 | wave_3_per_point47=my = oy*cos(xang) - oz*sin(xang); |
| 207 | wave_3_per_point48=mz = oy*sin(xang) + oz*cos(xang); |
| 208 | wave_3_per_point49=oy = my; |
| 209 | wave_3_per_point50=oz = mz; |
| 210 | wave_3_per_point51= |
| 211 | wave_3_per_point52=oz = oz - 2; |
| 212 | wave_3_per_point53=x = ox*fov/oz + 0.5; |
| 213 | wave_3_per_point54=x = (x-.5)*0.75 + 0.5; |
| 214 | wave_3_per_point55=y = oy*fov/oz + 0.5; |
| 215 | wave_3_per_point56= |
| 216 | shapecode_0_enabled=1 |
| 217 | shapecode_0_sides=4 |
| 218 | shapecode_0_additive=0 |
| 219 | shapecode_0_thickOutline=1 |
| 220 | shapecode_0_textured=1 |
| 221 | shapecode_0_num_inst=1 |
| 222 | shapecode_0_x=0.530 |
| 223 | shapecode_0_y=0.500 |
| 224 | shapecode_0_rad=0.08820 |
| 225 | shapecode_0_ang=0.00000 |
| 226 | shapecode_0_tex_ang=0.00000 |
| 227 | shapecode_0_tex_zoom=0.49280 |
| 228 | shapecode_0_r=1.000 |
| 229 | shapecode_0_g=1.000 |
| 230 | shapecode_0_b=0.700 |
| 231 | shapecode_0_a=0.700 |
| 232 | shapecode_0_r2=0.600 |
| 233 | shapecode_0_g2=0.000 |
| 234 | shapecode_0_b2=0.700 |
| 235 | shapecode_0_a2=1.000 |
| 236 | shapecode_0_border_r=0.300 |
| 237 | shapecode_0_border_g=0.000 |
| 238 | shapecode_0_border_b=0.600 |
| 239 | shapecode_0_border_a=0.000 |
| 240 | shape_0_per_frame1=trig = equal(q28%2,1)*q24; |
| 241 | shape_0_per_frame2= |
| 242 | shape_0_per_frame3=seed = sqr(time - int(time)); |
| 243 | shape_0_per_frame4=rr1 = rr1 * (1-trig) + seed*trig; |
| 244 | shape_0_per_frame5= |
| 245 | shape_0_per_frame6=textured = bnot(q24); |
| 246 | shape_0_per_frame7=ang = 3.1416 /4 * q28; |
| 247 | shape_0_per_frame8=ang = 0; |
| 248 | shape_0_per_frame9=x = .5; y = x; |
| 249 | shape_0_per_frame10=border_a = .5; |
| 250 | shape_0_per_frame11= |
| 251 | shape_0_per_frame12=a = .8; a2 = .5; |
| 252 | shape_0_per_frame13=rad = 0.4*rr1+.0;//MUSS HIER STEHEN - MIST |
| 253 | shape_0_per_frame14=rad = .35; |
| 254 | shape_0_per_frame15=tex_zoom = .8/rad; |
| 255 | shape_0_per_frame16=tex_zoom = 2; |
| 256 | shape_0_per_frame17= |
| 257 | shapecode_1_enabled=0 |
| 258 | shapecode_1_sides=4 |
| 259 | shapecode_1_additive=0 |
| 260 | shapecode_1_thickOutline=0 |
| 261 | shapecode_1_textured=0 |
| 262 | shapecode_1_num_inst=1 |
| 263 | shapecode_1_x=0.460 |
| 264 | shapecode_1_y=0.500 |
| 265 | shapecode_1_rad=0.15962 |
| 266 | shapecode_1_ang=0.00000 |
| 267 | shapecode_1_tex_ang=0.00000 |
| 268 | shapecode_1_tex_zoom=0.02846 |
| 269 | shapecode_1_r=1.000 |
| 270 | shapecode_1_g=1.000 |
| 271 | shapecode_1_b=1.000 |
| 272 | shapecode_1_a=0.030 |
| 273 | shapecode_1_r2=1.000 |
| 274 | shapecode_1_g2=1.000 |
| 275 | shapecode_1_b2=1.000 |
| 276 | shapecode_1_a2=0.000 |
| 277 | shapecode_1_border_r=0.500 |
| 278 | shapecode_1_border_g=0.500 |
| 279 | shapecode_1_border_b=0.500 |
| 280 | shapecode_1_border_a=0.000 |
| 281 | shape_1_per_frame1=x = int(rand(10))/10; |
| 282 | shape_1_per_frame2=y = int(rand(10))/10; |
| 283 | shape_1_per_frame3= |
| 284 | shape_1_per_frame4=r = int(rand(4))/3; |
| 285 | shape_1_per_frame5=g = int(rand(4))/3; |
| 286 | shape_1_per_frame6=b = int(rand(4))/3; |
| 287 | shape_1_per_frame7= |
| 288 | shape_1_per_frame8= |
| 289 | shape_1_per_frame9=is_beat = above(time, t0+.03); |
| 290 | shape_1_per_frame10=t0 = is_beat*time + (1-is_beat)*t0; |
| 291 | shape_1_per_frame11= |
| 292 | shape_1_per_frame12= |
| 293 | shape_1_per_frame13=a = min(q21/2 ,.9) * is_beat; |
| 294 | shape_1_per_frame14=rad = a*a/3 ; |
| 295 | shapecode_2_enabled=1 |
| 296 | shapecode_2_sides=4 |
| 297 | shapecode_2_additive=0 |
| 298 | shapecode_2_thickOutline=0 |
| 299 | shapecode_2_textured=0 |
| 300 | shapecode_2_num_inst=1 |
| 301 | shapecode_2_x=0.553 |
| 302 | shapecode_2_y=0.600 |
| 303 | shapecode_2_rad=0.04914 |
| 304 | shapecode_2_ang=0.00000 |
| 305 | shapecode_2_tex_ang=0.00000 |
| 306 | shapecode_2_tex_zoom=0.49981 |
| 307 | shapecode_2_r=1.000 |
| 308 | shapecode_2_g=1.000 |
| 309 | shapecode_2_b=1.000 |
| 310 | shapecode_2_a=1.000 |
| 311 | shapecode_2_r2=1.000 |
| 312 | shapecode_2_g2=0.000 |
| 313 | shapecode_2_b2=1.000 |
| 314 | shapecode_2_a2=0.000 |
| 315 | shapecode_2_border_r=0.500 |
| 316 | shapecode_2_border_g=0.500 |
| 317 | shapecode_2_border_b=0.500 |
| 318 | shapecode_2_border_a=0.000 |
| 319 | shape_2_per_frame1=textured = bnot(q24); |
| 320 | shapecode_3_enabled=1 |
| 321 | shapecode_3_sides=4 |
| 322 | shapecode_3_additive=0 |
| 323 | shapecode_3_thickOutline=0 |
| 324 | shapecode_3_textured=0 |
| 325 | shapecode_3_num_inst=1 |
| 326 | shapecode_3_x=0.450 |
| 327 | shapecode_3_y=0.500 |
| 328 | shapecode_3_rad=0.20268 |
| 329 | shapecode_3_ang=0.00000 |
| 330 | shapecode_3_tex_ang=0.62832 |
| 331 | shapecode_3_tex_zoom=4.46172 |
| 332 | shapecode_3_r=0.500 |
| 333 | shapecode_3_g=0.000 |
| 334 | shapecode_3_b=1.000 |
| 335 | shapecode_3_a=0.500 |
| 336 | shapecode_3_r2=1.000 |
| 337 | shapecode_3_g2=1.000 |
| 338 | shapecode_3_b2=1.000 |
| 339 | shapecode_3_a2=0.000 |
| 340 | shapecode_3_border_r=0.500 |
| 341 | shapecode_3_border_g=0.500 |
| 342 | shapecode_3_border_b=0.500 |
| 343 | shapecode_3_border_a=0.400 |
| 344 | shape_3_per_frame1=dx = int(rand(1000))/1000-.5; |
| 345 | shape_3_per_frame2=dy = int(rand(1000))/1000-.5; |
| 346 | shape_3_per_frame3= |
| 347 | shape_3_per_frame4=x = .5 + dx*(1-q22/4); |
| 348 | shape_3_per_frame5=y = .5 + dy*(1-q22/4); |
| 349 | shape_3_per_frame6= |
| 350 | shape_3_per_frame7=ang = int(rand(320))/100; |
| 351 | shape_3_per_frame8= |
| 352 | shape_3_per_frame9=a = 1; |
| 353 | shape_3_per_frame10=rad = .1*q24+0.08 +q22/40; |
| 354 | per_frame_1=// sensor - alpha |
| 355 | per_frame_2=// le = signal level; desired average value = 2 |
| 356 | per_frame_3=// th = threshold |
| 357 | per_frame_4=le=1.4*bass_att+.1*bass+.5*treb; |
| 358 | per_frame_5=pulse=band(above(le,th),above(le-th,block)); |
| 359 | per_frame_6=block=le-th; |
| 360 | per_frame_7=th=if(above(le,th),le+114/(le+10)-7.407, |
| 361 | per_frame_8=th+th*.07/(th-12)+below(th,2.7)*.1*(2.7-th)); |
| 362 | per_frame_9=th=if(above(th,6),6,th); |
| 363 | per_frame_10= |
| 364 | per_frame_11=// pulse cycler |
| 365 | per_frame_12=pcl=if(pulse,pcl+1,pcl); |
| 366 | per_frame_13=q1=pcl; |
| 367 | per_frame_14= |
| 368 | per_frame_15=ib_r=.5+.5*sin(pcl)+.3*sin(time*2.2); |
| 369 | per_frame_16=ib_g=.5+.5*sin(pcl*1.1)+.3*sin(time*2.1); |
| 370 | per_frame_17=ib_b=.5+.5*sin(pcl*1.2)+.3*sin(time*2); |
| 371 | per_frame_18=mv_r=ib_g; |
| 372 | per_frame_19=mv_g=ib_b; |
| 373 | per_frame_20=mv_b=ib_r; |
| 374 | per_frame_21=wave_r=1-ib_r; |
| 375 | per_frame_22=wave_g=1-ib_g; |
| 376 | per_frame_23=wave_b=1-ib_b; |
| 377 | per_frame_24= |
| 378 | per_frame_25=// level cycler |
| 379 | per_frame_26=levccl=levccl+le; |
| 380 | per_frame_27=q2=.1*levccl; |
| 381 | per_frame_28= |
| 382 | per_frame_29=mvx=if(pulse,int(rand(2))*int(rand(25)),mvx);mv_x=mvx; |
| 383 | per_frame_30=mvy=if(pulse,int(rand(2))*int(rand(19)),mvy);mv_y=mvy; |
| 384 | per_frame_31= |
| 385 | per_frame_32=q3=.5+.2*sin(23*pcl)+.2*sin(.023*levccl); |
| 386 | per_frame_33=wave_x=q3; |
| 387 | per_frame_34=q4=.5+.2*sin(24*pcl)+.2*sin(.02*levccl); |
| 388 | per_frame_35=wave_y=1-q4; |
| 389 | per_frame_36=thavg=.5*thavg+.5*th; |
| 390 | per_frame_37=q6=.2*thavg; |
| 391 | per_pixel_1=// coordinates transfomation |
| 392 | per_pixel_2=// q3,q4 = position; q6 = 1/size; |
| 393 | per_pixel_3=aang=atan2(y-q4,x-q3); |
| 394 | per_pixel_4=arad=sqrt(sqr(y-q4)+sqr(x-q3))*q6; |
| 395 | per_pixel_5=atx=cos(aang)*arad; |
| 396 | per_pixel_6=aty=sin(aang)*arad; |
| 397 | per_pixel_7= |
| 398 | per_pixel_8=boxzone=below(arad,.1); |
| 399 | per_pixel_9= |
| 400 | per_pixel_10=fxzone=band(band(above(x,.1),below(x,.9)), |
| 401 | per_pixel_11=band(above(y,.1),below(y,9))); |
| 402 | per_pixel_12= |
| 403 | per_pixel_13= |
| 404 | per_pixel_14=zoom=zoom+(1-boxzone)*if(fxzone,(-.2+.3*sin(3*q1)),-.2); |
| 405 | per_pixel_15=rot=(1-boxzone)*fxzone*(3.142*sin(12*q1)); |
| 406 | per_pixel_16= |
| 407 | per_pixel_17=dx=.01*bor(band(above(x,.05),below(x,.1)),above |
| 408 | per_pixel_18=(x,.95))-.01*bor(below(x,.05),band(above(x,.9),below(x,.95))); |
| 409 | per_pixel_19=dy=.01*bor(band(above(y,.05),below(y,.1)),above |
| 410 | per_pixel_20=(y,.95))-.01*bor(below(y,.05),band(above(y,.9),below(y,.95))); |
| 411 | per_pixel_21= |
| 412 | per_pixel_22=dx=if(boxzone,.1*atx,dx+fxzone*(.05*sin(q1+(9+4*sin(q1*2.3))*x+ |
| 413 | per_pixel_23=(6+3*sin(q1*2.4))*y+q2)+sin(q1*13))); |
| 414 | per_pixel_24=dy=if(boxzone,.1*aty,dy+fxzone*(.05*sin(q1+(8+4*sin(q1*2.2))*x+ |
| 415 | per_pixel_25=(5+3*sin(q1*2.1))*y+q2*1.2)+sin(q1*14))); |
| 416 | warp_1=`sampler sampler_worms; |
| 417 | warp_2=`float3 color, mus; |
| 418 | warp_3=`float dx,dy; |
| 419 | warp_4=`shader_body { |
| 420 | warp_5=` |
| 421 | warp_6=`float2 uv1 = (uv_orig-.5) * aspect.xy; |
| 422 | warp_7=` |
| 423 | warp_8=`float2 uv6 = uv1; |
| 424 | warp_9=`float z = q30 +.5*q27*length(uv1); |
| 425 | warp_10=`float2 d = normalize(uv1); |
| 426 | warp_11=` |
| 427 | warp_12=`float2 rs = clamp(tan(z)*d,-8,8); |
| 428 | warp_13=`rs = mul(rs+.1,float2x2(_qa)); |
| 429 | warp_14=` |
| 430 | warp_15=`if (q28 ==1) {rs *= cos(uv1.yx*11) ;} |
| 431 | warp_16=` |
| 432 | warp_17=`uv += rs/30; |
| 433 | warp_18=` |
| 434 | warp_19=` |
| 435 | warp_20=`uv6 = (uv-.5); |
| 436 | warp_21=`uv6 = mul(uv6,float2x2(_qa)); |
| 437 | warp_22=` |
| 438 | warp_23=`mus = .2/(sqrt(uv6.y-.1*q27)); |
| 439 | warp_24=`mus = abs(mus); |
| 440 | warp_25=`mus *= float3 (1,.8,.5); |
| 441 | warp_26=` |
| 442 | warp_27=` |
| 443 | warp_28=` |
| 444 | warp_29=` |
| 445 | warp_30=` |
| 446 | warp_31=`float3 blur = GetBlur1(frac(uv)); |
| 447 | warp_32=` |
| 448 | warp_33=`float3 crisp= tex2D(sampler_main,uv); |
| 449 | warp_34=` |
| 450 | warp_35=`float3 ret1 = crisp - blur*.05 + .06*mus; |
| 451 | warp_36=`ret = ret1 * .98 - .01; |
| 452 | warp_37=` |
| 453 | warp_38=` |
| 454 | warp_39=`} |
| 455 | comp_1=`sampler sampler_pw_noise_lq; |
| 456 | comp_2=`float mask1, mask2, mask3, rad1, rad2, rad3; |
| 457 | comp_3=`float2 rs0, rs, rs1,dz, rsk, dz1, uv4, |
| 458 | comp_4=` Kugel1, Kugel2, Kugel3; |
| 459 | comp_5=`float3 noise, ret1, ret2; |
| 460 | comp_6=` |
| 461 | comp_7=`shader_body { |
| 462 | comp_8=`float2 uv1 = (uv-.5 )*aspect.xy; |
| 463 | comp_9=` |
| 464 | comp_10=`uv1 = mul(uv1,float2x2(_qb)); |
| 465 | comp_11=` |
| 466 | comp_12=`//Kugel1 |
| 467 | comp_13=`rsk = (uv1 + float2 (q11,q12)) ; |
| 468 | comp_14=`dz1 = normalize(rsk); |
| 469 | comp_15=`rad1 = 8*(q13)*length (rsk) ; |
| 470 | comp_16=`uv4 = tan(rad1)*dz1; |
| 471 | comp_17=`mask1 = saturate(10-7*rad1); |
| 472 | comp_18=`Kugel1 = uv4*mask1/(1+q13*q13)*q13; |
| 473 | comp_19=` |
| 474 | comp_20=`//Kugel2 |
| 475 | comp_21=`rsk = (uv1 + float2 (q14,q15)) ; |
| 476 | comp_22=`dz1 = normalize(rsk); |
| 477 | comp_23=`rad2 = 2*(1+q16)*length (rsk) ; |
| 478 | comp_24=`uv4 = tan(rad2)*dz1; |
| 479 | comp_25=`mask2 = saturate(10-7*rad2); |
| 480 | comp_26=`Kugel2 = uv4*mask2/(1+q16*q16)*q16; |
| 481 | comp_27=` |
| 482 | comp_28=`//Kugel3 |
| 483 | comp_29=`rsk = (uv1 + float2 (q17,q18)) ; |
| 484 | comp_30=`dz1 = normalize(rsk); |
| 485 | comp_31=`rad3 = 4*(1+q19)*length (rsk) ; |
| 486 | comp_32=`uv4 = tan(rad3)*dz1; |
| 487 | comp_33=`mask3 = saturate(10-7*rad3); |
| 488 | comp_34=`Kugel3 = uv4*mask3/(1+q19*q19)*q19; |
| 489 | comp_35=` |
| 490 | comp_36=`float z = .1/abs(uv1.y*rad*rad); |
| 491 | comp_37=`rs0.y = z ; |
| 492 | comp_38=`rs0.x = uv1.x*z*4; |
| 493 | comp_39=` |
| 494 | comp_40=`rs0 = mul(rs0, float2x2(_qa)); |
| 495 | comp_41=`rs = rs0 + float2 (0,q30); |
| 496 | comp_42=`ret2 = GetBlur1(frac(rs))/z; |
| 497 | comp_43=` |
| 498 | comp_44=`uv1 += (Kugel1 + Kugel2 + Kugel3)*.25 + ret2/4; |
| 499 | comp_45=`ret1 = ret2 + (GetPixel(uv1/2+.5)) |
| 500 | comp_46=`+ .4/rad1 * (.5-GetBlur1(0.1))*q22*(q27%4) |
| 501 | comp_47=`+ .3/rad2 * (.5-GetBlur1(0.2))*q22*((q27+1)%4) |
| 502 | comp_48=`+ .2/rad3 * (.5-GetBlur1(0))*q22*((q27+2)%4); |
| 503 | comp_49=` |
| 504 | comp_50=`ret = saturate(ret1*(1+ret1)); |
| 505 | comp_51=`} |
| 506 | comp_52=` |